<div class="layui-form-item">
    <label class="layui-form-label">{$value['desc']}</label>
    <div class="layui-input-block {$value['class']}" style="width: 30%;{$value['style']}">
        <select name="{$value['name']}" lay-filter="aihao">
            <option value="">请选择</option>
            {foreach $value['option'] as $key=>$va}
            {if $value['keytostr']}
            {if $value['value']==$key}
            <option value="{$key}" selected="">{$va}</option>
            {else}
            <option value="{$key}">{$va}</option>
            {/if}
            {else}
            {if $value['value']==$va}
            <option value="{$va}" selected="">{$va}</option>
            {else}
            <option value="{$va}">{$va}</option>
            {/if}
            {/if}
            {/foreach}
        </select>
    </div>
</div>